NameServlet Specification

public class NameEntry {
   protected long empid;
   protected String lastname;
   protected String firstname;
   protected String phone;
   protected String email;
}

public class NameServlet extends HttpServlet {

   public void service(HttpServletRequest,
                       HttpServletResponse);

   // Returns the NameEntry (if any) that
   // matches the query encoded in the
   // parameters of the request.
   protected NameEntry processQuery(HttpServletRequest);
}

Return to Tracks